package com.attendance.www.hr.service;

import java.util.List;

import com.attendance.www.hr.beans.SalaryBean;
import com.attendance.www.hr.beans.SalaryListBean;
import com.attendance.www.hr.beans.SalaryPageBean;

public interface ISalaryService {
	
	/**
	 * 查询保存历史明细(右侧下拉框)
	 * @param employeeNo
	 * @return
	 */
	public List<SalaryBean> getSalaryHistory(Integer employeeId);
	/**
	 * 查询工资报表
	 * 新查询或查看历史数据(对应“搜索”按钮)
	 * @param salaryBean
	 * @return
	 */
	public SalaryPageBean getSalaryTempList(SalaryBean salaryBean);

	/**
	 * 修改工资报表 (对应“保存”按钮)
	 * @param salaryBeanList
	 * @return
	 */
	public boolean updateSalaryList(SalaryListBean salaryListBean);
	
	/**
	 * 导入工资报表
	 * @param attachmentId
	 * @return
	 */
	public List<String> saveSalaryListExcel(Integer attachmentId, Integer employeeId);
	
	/**
	 * 导出工资报表
	 * @param salaryBean
	 * @return
	 */
	public String getExportSalary(SalaryBean salaryBean);
	
	/**
	 * 查询提交明细
	 * @param salaryRequestId
	 * @return
	 */
	public List<SalaryBean> getSalaryListDetail(Integer salaryRequestId);
	
	/**
	 * 取得excel中的年月
	 * @param attachmentId
	 * @param employeeId
	 * @return
	 */
	public SalaryListBean getExcelYearMonth(Integer attachmentId, Integer employeeId);
	
	/**
	 * 删除工资报表，根据开始日期，结束日期，人员no
	 * @param salaryBean
	 * @return
	 */
	public boolean deleteSalary(SalaryBean salaryBean);
	
	/**
	 * 查询工资汇总表
	 * by年份，月份
	 * @param salaryBean
	 * @return
	 */
	public SalaryPageBean getSalaryTotalList(SalaryBean salaryBean);
	
}
